package com.chuangke.sms.sender.dydxwg;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

@Configuration
public class DydxwgConfig {

	@Value("${sms.dydxwg.yhid}")
	private String yhid;
	@Value("${sms.dydxwg.yhmm}")
	private String yhmm;
	@Value("${sms.dydxwg.url}")
	private String url;
	@Value("${sms.dydxwg.conntimeout}")
	private int conntimeout ;
	@Value("${sms.dydxwg.readtimeout}")
	private int readtimeout ;

	public String getYhid() {
		return yhid;
	}

	public void setYhid(String yhid) {
		this.yhid = yhid;
	}

	public String getYhmm() {
		return yhmm;
	}

	public void setYhmm(String yhmm) {
		this.yhmm = yhmm;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public int getConntimeout() {
		return conntimeout;
	}

	public void setConntimeout(int conntimeout) {
		this.conntimeout = conntimeout;
	}

	public int getReadtimeout() {
		return readtimeout;
	}

	public void setReadtimeout(int readtimeout) {
		this.readtimeout = readtimeout;
	}

	@Override
	public String toString() {
		return "DydxwgConfig [yhid=" + yhid + ", yhmm=" + yhmm + ", url=" + url + ", conntimeout=" + conntimeout
				+ ", readtimeout=" + readtimeout + "]";
	}

}
